#pragma once
#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<string.h>
#define NAME_MAX 20
#define  GENDER_MAX 20
#define TELP 20
#define ADDR 100

typedef struct Contact
{
	char name[NAME_MAX];
	char gender[GENDER_MAX];
	int age;
	char telp[TELP];
	char addr[ADDR];
}PersonInfm;

typedef struct seqlist Contact;
void ContactInit(Contact* con);
void ContactDestroy(Contact* con);
void AddContact(Contact* con);
void ShowContact(Contact * con);
void FindContact(Contact * con);
void ModifyContact(Contact * con);
void ContactDel(Contact* con);